package com.yonyou.cyxdms.sysAuth.service.mapper;

import com.yonyou.cyx.framework.dao.base.SuperMapper;
import com.yonyou.cyxdms.sysAuth.service.entity.role.RolePositionPO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 角色职责 Mapper 接口
 * </p>
 *
 * @author 李贺
 * @since 2019-09-18
 */
public interface RolePositionMapper extends SuperMapper<RolePositionPO> {

    List<Map<String, Object>> selectRolePermissionId(@Param("permissionCode") String permissionCode, @Param("roleId") Integer roleId);

    void deleteRolePermission(@Param("id") Integer id);

}
